package com.siki.salessystemcommon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.siki.salessystemcommon.entity.base.BaseAutoEntity;
import com.siki.salessystemcommon.entity.base.BaseUuEntity;
import com.siki.salessystemcommon.entity.enumeration.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDate;

/**
 * @author Siki in 2021/6/19
 */
@Getter
@Setter
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "clock_clock",resultMap = "clockInfoResult")
public class ClockInfo extends BaseAutoEntity {
    @ApiModelProperty("打卡日期")
    LocalDate clockDate;

    @ApiModelProperty("连续打卡天数")
    Long clockDays;

    @ApiModelProperty("学号")
    String casId;

    @ApiModelProperty("姓名")
    String name;

    @ApiModelProperty("学院")
    String institute;

    @ApiModelProperty("专业")
    String major;

    @ApiModelProperty("校区")
    Campus campus;

    /**
     * enum
     */
    @ApiModelProperty("身份类型")
    CardType cardType;

    @ApiModelProperty("证件号码")
    String cardNumber;

    /**
     * enum
     */
    @ApiModelProperty("人员身份")
    IdentifyType identifyType;

    @ApiModelProperty("籍贯")
    String nation;

    @ApiModelProperty("近日所在地")
    String recentlyAddress;

    @ApiModelProperty("近日所在地详情")
    String recentlyAddressDetail;

    @ApiModelProperty("经度")
    String lng;

    @ApiModelProperty("纬度")
    String lat;

    @ApiModelProperty("家庭住址")
    String familyAddress;

    @ApiModelProperty("手机号码")
    String phone;

    @ApiModelProperty("紧急联系人")
    String urgentName;

    @ApiModelProperty("紧急联系人联系方式")
    String urgentPhone;

    /**
     * enum
     */
    @ApiModelProperty("身体状况")
    PhysicalCondition physicalCondition;

    /**
     * enum
     */
    @ApiModelProperty("是否在莞")
    Byte inDongGuan;

    @ApiModelProperty("备注")
    String remark;

    @ApiModelProperty("温度")
    String temperature;

    @ApiModelProperty("体温状态")
    TemperatureStatus temperatureStatus;

    @ApiModelProperty("人员类型")
    PeopleType peopleType;
}
